ComponentOne Xamarin.Android
ReplaceAsync Method (C1HierarchicalCollectionView<T>)


C1.CollectionView Assembly > C1.CollectionView Namespace > C1HierarchicalCollectionView<T> Class : ReplaceAsync Method
The index.
The item.
Replaces the item at the specified index by the specified item.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.C1HierarchicalCollectionView`1/d__32)> 
Public Overridable Function ReplaceAsync( _ 
   ByVal index As Integer, _ 
   ByVal item As Object _ 
) As Task
'Usage
 
Dim instance As C1HierarchicalCollectionView(Of T)
Dim index As Integer
Dim item As Object
Dim value As Task
 
value = instance.ReplaceAsync(index, item)
[AsyncStateMachine(C1.CollectionView.C1HierarchicalCollectionView`1/d__32)] 
public virtual Task ReplaceAsync( 
   int index, 
   object item 
)

Parameters

index
The index.
item
The item.
See Also

Reference

C1HierarchicalCollectionView<T> Class
C1HierarchicalCollectionView<T> Members